Remove out: label, to silence warning.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sun, 30 Oct 2005 14:42:02 +0000 (15:42 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sun, 30 Oct 2005 14:42:02 +0000 (15:42 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
linux-2.6-xen-sparse/arch/xen/kernel/reboot.c

index fbac789592565368f82f6771b0ac345b881bb790..d017cf9620905970e8cf77a79955e404275d8616 100644 (file)
@@ -317,11 +317,10 @@ static void shutdown_handler(struct xenbus_watch *watch,
                shutting_down = SHUTDOWN_INVALID;
        }
 
-       kfree(str);
-
- out:
        if (shutting_down != SHUTDOWN_INVALID)
                schedule_work(&shutdown_work);
+
+       kfree(str);
 }
 
 #ifdef CONFIG_MAGIC_SYSRQ